#include <stdlib.h>
#include <stdio.h>
#include "spinlock.h"

int main(void)
{
  spinlock_t _spinlock;
  while(spin_trylock(&_spinlock)==0)
    {
      printf("Unable to acquire the spinlock\n");
    }
  printf("Acquired the spinlock\n");

  return 0;
}
